package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 小说收藏
 * TableName : FICTION_FAVORITE
 * ClassName : com.swlz.entity.FictionFavorite
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-19 20:58:02
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("FICTION_FAVORITE")
public class FictionFavorite  {


	/**
	 * <pre>小说收藏编号 - FICTION_FAVORITE_ID</pre>
	 **/
	@Id
	private Long fictionFavoriteId;
	/**
	 * <pre>小说编号 - FICTION_ID</pre>
	 **/
	private Long fictionId;
	/**
	 * <pre>用户编号 - USER_ID</pre>
	 **/
	private Long userId;


	/**
	 * <pre>获取小说收藏编号</pre>
	 **/
	public Long getFictionFavoriteId() {
        return fictionFavoriteId;
    }

	/**
	 * <pre>设置小说收藏编号</pre>
	 **/
    public void setFictionFavoriteId(Long fictionFavoriteId) {
        this.fictionFavoriteId = fictionFavoriteId;
    }

	/**
	 * <pre>获取小说编号</pre>
	 **/
	public Long getFictionId() {
        return fictionId;
    }

	/**
	 * <pre>设置小说编号</pre>
	 **/
    public void setFictionId(Long fictionId) {
        this.fictionId = fictionId;
    }

	/**
	 * <pre>获取用户编号</pre>
	 **/
	public Long getUserId() {
        return userId;
    }

	/**
	 * <pre>设置用户编号</pre>
	 **/
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("fictionFavoriteId=");
    	str.append(fictionFavoriteId);
    	str.append(", ");
    	str.append("fictionId=");
    	str.append(fictionId);
    	str.append(", ");
    	str.append("userId=");
    	str.append(userId);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}